Masteriyo\Checkout D

Total Complexity 133
Dependencies 10
Dependents 1
Total lines 1,050
Lines of code 476
Logical lines of code 262
Comment lines 445
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
validate_posted_data()
C
31 29 107
maybe_skip_field()
A
49 14 28
process_user()
A
48 14 28
process_checkout()
A
42 12 51
get_posted_data()
A
46 13 36
create_order()
A
43 12 45
validate_checkout()
S
56 6 17
process_order_payment()
S
56 5 17
get_checkout_fields()
S
49 4 31
set_user_address_fields()
S
62 5 10
create_order_course_items()
S
53 3 23
send_ajax_failure_response()
S
59 3 14
process_order_without_payment()
S
58 2 16
get_value()
S
63 3 10
billing_form()
S
62 2 13
update_session()
S
63 1 11
check_cart_items()
S
81 1 3
init_hooks()
S
78 1 3
set_data_from_cart()
S
72 1 5
is_registration_required()
S
79 1 3
__construct()
S
74 1 5